<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2019/4/9
 * Time: 11:36
 */

namespace Game\Lib;


class CodeConst
{
    const Success_PrepareJoinRoom   = 2001;
    const Success_CreateRoom        = 2002;

    // 4xxx错误
    const Error_TicketInsufficient  = 4091;     // 房卡不足
    const Error_Announcement        = 4081;     // 游戏维护中

    const Error_RoomCreateFail      = 4002;     // 创建房间失败
    const Error_RoomNotExist        = 4003;     // 房间号不存在
    const Error_RoomIsClosed        = 4004;     // 房间已经关闭
    const Error_RoomIsFull          = 4005;     // 房间已满

    const Error_MissingParameter    = 5001;     // 缺少参数

}